Remove obsolete code. Bug #459566.
authorChristian Persch <chpe@gnome.org>
Mon, 23 Jul 2007 18:45:36 +0000 (18:45 +0000)
committerChristian Persch <chpe@src.gnome.org>
Mon, 23 Jul 2007 18:45:36 +0000 (18:45 +0000)
2007-07-23  Christian Persch  <chpe@gnome.org>

* tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
code. Bug #459566.

svn path=/trunk/; revision=18531

ChangeLog
tests/testtooltips.c

index f1738937cc41ea7537dfd36e561b12f3eae18159..93e88218e02eeae007cb1d6d58547db3737d9116 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-23  Christian Persch  <chpe@gnome.org>
+
+       * tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
+       code. Bug #459566.
+
 2007-07-23  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtktreeview.c:
index 7aa8f59c7010764e4c5f0a0da0a6e8ca7d843d76..2040e7a8c25973e77e2e5d7a9c3b49109f17896e 100644 (file)
@@ -107,27 +107,6 @@ query_tooltip_tree_view_cb (GtkWidget  *widget,
 
   char buffer[512];
 
-  if (keyboard_tip)
-    {
-      /* Keyboard mode */
-      gtk_tree_view_get_cursor (tree_view, &path, NULL);
-
-      if (!path)
-       return FALSE;
-    }
-  else
-    {
-      gint bin_x, bin_y;
-
-      gtk_tree_view_convert_widget_to_bin_window_coords (tree_view, x, y,
-                                                        &bin_x, &bin_y);
-
-      /* Mouse mode */
-      if (!gtk_tree_view_get_path_at_pos (tree_view, bin_x, bin_y,
-                                         &path, NULL, NULL, NULL))
-        return FALSE;
-    }
-
   if (!gtk_tree_view_get_tooltip_context (tree_view, &x, &y,
                                          keyboard_tip,
                                          &model, &path, &iter))